<include file="Public:head" title="下载列表"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li><a href="{:U('Box/downloads')}">下载管理</a></li>
                    <li class="active">{$lists[0]['title']}</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="header smaller lighter blue">
                                    <div class="nav-search col-xs-10" id="nav-search">
                                        <form class="form-search" method="get">
                                            <div class="search_area">

                                                <!--                                                <select name="cat_id" autocomplete="off">
                                                                                                    <option value="0">请选择下载分类</option>
                                                                                                    <foreach name="cats" item="row">
                                                                                                        <option value="{$row.id}"<if condition="$row.id eq $cat_id">selected</if>>
                                                                                                        {$row.name}                                                
                                                                                                        </option>
                                                                                                    </foreach>
                                                                                                </select>-->
<!--                                                <input class="form-control search-query" type="text" name="keyword" autocomplete="off"  placeholder="请输入下载名称" value="{$Think.get.keyword}">
                                                <input type='hidden' name='p' value='0'>
                                                <button class="btn btn-purple btn-sm" type="submit">搜 索 <i class="icon_search icon-on-right bigger-110"></i></button>-->
                                            </div>
                                        </form>
                                    </div>
                                    <div class='cl'></div>
                                </div>
                                <notempty name='lists'>
                                    <div class="table-responsive">
                                        <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                                            <thead>
                                                <tr>
                                                    <th width='45px' class="center">ID</th>
                                                    <th>下载用户</th>
                                                    <th>下载积分</th>
                                                    <th>下载类型</th>
                                                          <th>ip</th>
                                                    <th>下载时间</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            <foreach name="lists" item="row">
                                                <tr>
                                                    <td class="center">{$row.id}</td>
                                                    <td style="text-align: left">        <a href="{:U('User/detail',array('id'=>$row['uid']))}">{$row.uid|getSingleField=###,'user','name'}</a></td>
                                                    <td>{$row.points}</td>
                                                    <td>{$row.points_type|getPaySymbol}</td>
                                                          <td>{$row.ip}</td>
                                                <td>{$row.addtime|date="Y-m-d H:i",###}</td>
                                              
                                            
                                                </tr>
                                            </foreach>
                                            </tbody>
                                        </table>

                                    </div>
                                    <div id="grid-pager" class="ui-state-default  ui-corner-bottom" dir="ltr">
                                        <table width='100%' data-table='publish'  id='modal_del_table'>
                                            <tr>
                                                <td>
                                                    <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                                                       
                                                    </div>
                                                </td>
                                                <td class='td_pager'><div class='pager'>{$page}</div></td>
                                            </tr>
                                        </table>
                                    </div>
                                    <else/>
                                    <p class='noempty'>没有符合条件的记录</p>
                                </notempty>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
<include file="Public:del" />
<include file="Public:foot" />